26. Manage Audio Focus in the App

Manage Audio Focus in the App

Question:

Start Quiz:

Solution:

INSTRUCTOR NOTE:

Previous Quiz Solutions:

Articles:

Reference documentation:

(Optional) Mid-way checkpoint: After you’ve attempted task #2, if you want to check your work against our implementation, here’s the code for the OnAudioFocusChangeListener.

These are the changes needed to complete the quiz.
This is the state of the code after completing the quiz.

Emoji art supplied by http://emojione.com